<!-- 工序流程卡 -->
<template>
  <div class="billOfMaterials">
    <div class="billOfMaterials-main">
      <el-table :data="data" size="small" border style="width: 100%" height="300px">
        <el-table-column show-overflow-tooltip align="center" type="index" label="序号" />
        <el-table-column show-overflow-tooltip align="center" prop="routeName" label="工艺路线"></el-table-column>
        <el-table-column show-overflow-tooltip align="center" prop="processName" label="工序"></el-table-column>
        <el-table-column show-overflow-tooltip align="center" prop="feedbackTime" label="日期"></el-table-column>
        <el-table-column show-overflow-tooltip align="center" prop="quantityFeedback" label="生产数量" width="180"></el-table-column>
        <el-table-column show-overflow-tooltip align="center" prop="quantityQualified" label="合格数" width="180"></el-table-column>
        <el-table-column show-overflow-tooltip align="center" prop="quantityUnquanlified" label="不合格数" width="180"></el-table-column>
        <el-table-column show-overflow-tooltip align="center" prop="quantityRework" label="返工数" width="180"></el-table-column>
      </el-table>
    </div>
  </div>
</template>

<script>
export default {
  name: 'BillOfMaterials',
  props: {
    data: undefined
  },
  data() {
    return {
    }
  },
  mounted() {  
  },
  methods: {
  }
}
</script>

<style lang="scss" scoped>
.billOfMaterials {
  &-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    // padding: 0 20px;
    &-btn {
      display: flex;
    }
    &-info {
      display: flex;
      justify-content: space-between;
      &-item {
        display: flex;
        align-items: center;
        margin-right: 20px;
        span {
          font-size: 12px;
        }
      }
    }
  }
}
</style>